package com.xxd.spring.boot.demo.lihonghai.service;

import com.xxd.spring.boot.demo.lihonghai.Eeception.MyException;
import com.xxd.spring.boot.demo.lihonghai.entity.User;

public interface UserService{
    int regsit(User user) throws MyException;
    User login(String username,String password) throws MyException;
}
